2007-12-10 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
Fix the check for no changes to position and size.
svn path=/trunk/; revision=19147
+2007-12-10 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
+ Fix the check for no changes to position and size.
+
2007-12-10 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
- if ((x == private->x) &&
- (y == private->y) &&
- (width == impl->width) &&
- (height == impl->height))
+ if ((x == -1 || (x == private->x)) &&
+ (y == -1 || (y == private->y)) &&
+ (width == -1 || (width == impl->width)) &&
+ (height == -1 || (height == impl->height)))
{
return;
}